package cn.tedu.weibo.pojo.entity;

import java.util.Date;

public class Weibo {
    private Integer id;
    private String content;
    private String urls;
    private Date created;
    private Integer userId;

    public Weibo() {
    }

    public Weibo(Integer id, String content, String urls, Date created, Integer userId) {
        this.id = id;
        this.content = content;
        this.urls = urls;
        this.created = created;
        this.userId = userId;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return urls
     */
    public String getUrls() {
        return urls;
    }

    /**
     * 设置
     * @param urls
     */
    public void setUrls(String urls) {
        this.urls = urls;
    }

    /**
     * 获取
     * @return created
     */
    public Date getCreated() {
        return created;
    }

    /**
     * 设置
     * @param created
     */
    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 获取
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String toString() {
        return "Weibo{id = " + id + ", content = " + content + ", urls = " + urls + ", created = " + created + ", userId = " + userId + "}";
    }
}
